﻿using DH.Core.MapperHelper;
using DH.Core.UI.ViewModel;
using DH.Entity;
using System;
using System.Collections.Generic;
using System.Text;

namespace DH.Service.ViewModels
{
    [MapToType(typeof(CategoryEntity))]
    public class DicSelectViewModel: EntityModelBase
    {
        [MapToMember("Code")]
        public string id { get; set; }

        [MapToMember("Name")]
        public string text { get; set; }

        [MapToMember("ParentCode")]
        public string parentId { get; set; }
    }
}
